package com.onlineclass.onlineclassmanagement.controller;


import com.onlineclass.beas.ResultObject;
import com.onlineclass.onlineclassmanagement.feign.GetrecommendFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/PersonalCenter")
@RestController
public class CourseInfoController {

    @Autowired
    GetrecommendFeign getrecommendFeign;


    @RequestMapping("/course")
    public ResultObject getCourseInfo(){

        return getrecommendFeign.getCourseInfo();
    }


}
